﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace BookSpider.Entities
{
    public class Chapter
    {
        public virtual int Id { get; set; }
        public virtual string Title { get; set; }
        public virtual int ParentId { get; set; }
        public virtual int NovelId { get; set; }
        public virtual string Content { get; set; }
        public virtual int SortNo { get; set; }
        public virtual string SourceUrl { get; set; }

        
        public virtual Novel Novel { get; set; }
        public virtual Chapter Parent { get; set; }
        public virtual List<Chapter> Children { get; set; }
    }
}
